package com.frank.demo.mq.rocketmq;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import javax.annotation.PostConstruct;

/**
 * Created by Administrator on 2017/2/23.
 */
public class Demo {

    @PostConstruct
    public void init(){
        System.out.println("hello spring");
    }

    public static void main(String[] args) {
        ClassPathXmlApplicationContext beans = new ClassPathXmlApplicationContext("classpath:spring-rocket.xml");
    }
}
